package com.yunxi.finance.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.finance.pojo.InsurerVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 保险公司 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-14
 */
public interface InsurerDubboService {

    InsurerVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(InsurerVO insurerVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<InsurerVO> findPageByVO(InsurerVO insurerVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByList(List<InsurerVO> insurerVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(InsurerVO insurerVO);
}
